package com.itestmini.testplatformbackend.dto.user;

import com.itestmini.testplatformbackend.entity.BaseEntityNew;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.persistence.*;
import java.util.Date;

@Data
@Schema(description= "用户注册类")
public class AddUserDto extends BaseEntityNew {


    /**
     * 用户名
     */
    @Schema(description= "用户名", required = true, example = "张三")
    private String userName;

    /**
     * 密码
     */
    @Schema(description= "密码", required = true)
    private String password;

    /**
     * 邮箱
     */
    @Schema(description= "邮箱", required = true, example = "email123@163.com")
    private String email;

    /**
     * 自动生成用例job名称 不为空时表示已经创建job
     */
    private String autoCreateCaseJobName;

    /**
     * 执行测试job名称 不为空时表示已经创建job
     */
    private String startTestJobName;

    /**
     * 默认Jenkins服务器
     */
    private Integer defaultJenkinsId;



}